<div class="modal-content">
    <div class="modal-header">
        <h4 class="modal-title">教师单位变更审核</h4>
        <div style="float:right;">
            <button class="btn btn-primary" ng-click="auditPass()">通过</button>
            <button class="btn btn-primary" ng-click="auditFail()">不通过</button>
            <button class="btn btn-danger" ng-click="del()">删除</button>
            <button ng-click="goback()" type="button" class="btn btn btn-secondary"><i class="iconfont icon-back"></i>&nbsp;返回</button>
        </div>
    </div>
    <div class="modal-body">
        <form class="div-find form-inline"   style="margin:10px 0px;">
            <div class="form-group">
                <label class="form-label">状态：</label>
                <select class="form-control" ng-model="form.changestate">
                    <option value="">==请选择==</option>
                    <option value="0">审核中</option>
                    <option value="1">审核通过</option>
                    <option value="2">审核不通过</option>
                </select>
            </div>
            <div class="form-group">
                <label class="form-label">姓名：</label>
                <input ng-model="form.teachername" type="text" class="form-control" placeholder="姓名"/>
            </div>
            <div class="form-group">
                <label class="form-label">身份证号：</label>
                <input ng-model="form.sfzjh" type="text" class="form-control" placeholder="身份证号"/>
            </div>
            <button ng-click="select()" type="submit" class="btn btn-secondary"><i class="iconfont icon-search"></i>&nbsp;查询</button>
        </form>
        <div class="div-table">
            <table class="table table-hover table-bordered">
                <thead>
                <tr>
                    <th class="table-th-checkbox" ><input type="checkbox" ng-click="checkAll($event.target)" /></th>
                    <th>姓名</th>
                    <th>身份证号</th>
                    <th>原工作单位</th>
                    <th>原人事单位</th>
                    <th>新工作单位</th>
                    <th>新人事单位</th>
                    <th>审核状态</th>
                </tr>
                </thead>
                <tbody ng-switch on="page.current_num">
                <tr ng-switch-when="0">
                    <td colspan="100" >查询无记录</td>
                </tr>
                <tr ng-repeat="row in rows">
                    <td>
                        <input type="checkbox" name="dataPk" value="{{row.id}}" />
                    </td>
                    <td>{{row.teachername}}</td>
                    <td title="{{row.sfzjh_long}}">{{row.sfzjh}}</td>
                    <td>{{row.gzdwname_old}}</td>
                    <td>{{row.rsdwname_old}}</td>
                    <td>{{row.gzdwname_new}}</td>
                    <td>{{row.rsdwname_new}}</td>
                    <td>
                        <span ng-show="row.changestate == null">没有申请</span>
                        <span ng-show="row.changestate == 0">审核中</span>
                        <span ng-show="row.changestate == 1">审核通过</span>
                        <span ng-show="row.changestate == 2">审核不通过</span>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
        <div ng-include="'plugin/frame/3.0.1/html/page.html'" class="div-page" ></div>
    </div>
</div>


